/*
 * Copyright (c) 悠静<i@mikuhl.cn> 仅用于提交给24年JavaWeb课程所用，侵权必究. 2024-至今. All rights reserved.
 *
 */

package cn.mikuhl.retailmanagementsystem.DAO;

import cn.mikuhl.retailmanagementsystem.Entities.Order;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderMapper {

    // 插入订单
    void insertOrder(Order order);

    // 更新订单
    void updateOrder(Order order);

    // 根据ID查询订单
    Order getOrderById(int id);
}
